#include <WinTen.h>
#include <Windows.h>
#include <ClipApi.h>

CLIPPER WndRaised()
{
   HWND hWnd = _parni( 1 );
   HDC  hDC  = _parni( 2 );
   HPEN hPen, hOldPen;
   RECT rct;

   GetClientRect( hWnd, &rct );
   hPen    = GetStockObject( WHITE_PEN );
   hOldPen = SelectObject( hDC, hPen );
   MoveTo( hDC, 0, 0 );
   LineTo( hDC, rct.right - 1, 0 );
   MoveTo( hDC, 0, 0 );
   LineTo( hDC, 0, rct.bottom - 1 );
   hPen = CreatePen( PS_SOLID, 1, RGB( 128, 128, 128 ) );
   SelectObject( hDC, hPen );
   MoveTo( hDC, 0, rct.bottom - 1 );
   LineTo( hDC, rct.right - 1, rct.bottom - 1 );
   LineTo( hDC, rct.right - 1, -1 );
   SelectObject( hDC, hOldPen );
   DeleteObject( hPen );
}
